 <?php 
global $post;
$background = get_the_post_thumbnail_url();
//fallback
if ( empty( $background ) ) { 
	$background = get_field('default_image', 'options')['url'];
  }
$slider = new SlickSlider; 
$video_url = get_field('video_response');
$choise = get_field('pravy_sloupec_sluzeb');
 get_header();?>
<section class="wrapper" style="background: #fff url(<?php if ( !empty( $background ) ) echo $background; ?>) no-repeat; background-size: 100% auto; background-size: cover;">
<div class="entry-content">
  
	<div class="container container-services">
    
		<div class="row">

			<div class="col-md-12 col-sm-12 col-xs-12">
				<?php while ( have_posts() ) : the_post(); ?>

				<?php get_template_part( 'template-parts/content', 'page' ); ?>

				<?php endwhile; // End of the loop. ?>
			</div>

		</div>
  	
	</div>
	
</div>
<!--close-content-->
<?php get_template_part( 'inc/footer', 'contact' ); ?>
</section>
<?php get_footer();?>